home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / editors / eedraw / src / ed / conv.mak < prev    next >
Encoding:
Makefile  |  1992-07-12  |  1.1 KB  |  55 lines

  1.  
  2. #
  3. # Makefile for EEcad program. Turbo C++ tcc (and up) is assumed available.
  4. #
  5.  
  6.  
  7. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  8. .SWAP
  9.  
  10. # Your C compiler and linker
  11. CC = tcc
  12. LNK = tlink
  13.  
  14. # Include directories other than default ones.
  15. INC = -Ic:\usr\tc\include -I\usr\include
  16. LIB = c:\usr\tc\lib
  17. LIB2 = c:\usr\lib
  18.  
  19. # Non debug flags:
  20. #
  21. # BC 2.0 or previous
  22. # CFLAGS = -ml -c -a- -ff -G -O -r -d -w -v- -y- -k- -N-
  23. #
  24. # BC++ 3.0 (with optimizer).
  25. CFLAGS = -ml -c -a- -ff -G -O1 -r -d -w -v- -y- -k- -N-
  26. LFLAGS = /x/c
  27.  
  28. # Debug flags:
  29. # CFLAGS = -ml -c -a- -ff -d -w -N -v -y
  30. # LFLAGS = /v
  31.  
  32. #
  33. # Libs to link with
  34. #
  35. LIBS = $(LIB)\mathl.lib $(LIB)\cl.lib
  36.  
  37. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  38. # choke on them (the { } signals batch mode that combines few operation at the
  39. # same time - very nice feature!).
  40. .c.obj:
  41.     $(CC) $(INC) $(CFLAGS) {$< }
  42.  
  43. OBJS = conv.obj
  44.  
  45. EEDraw:    $(OBJS)
  46.     $(LNK) @&&!
  47. c:\usr\tc\lib\c0l.obj+
  48. $(OBJS)
  49. conv.exe
  50. conv.map
  51. $(LIBS)
  52. !$(LFLAGS)
  53.  
  54. conv.obj: conv.h ..\primary.h
  55.